<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:repeat value="#{consultaWebSessionBean.consultaWeb}" var="consultaWebPb">
        <div id="idSimpleResult" class="classSimpleResult" >
            <div class="classSimpleResultNameP"><h:outputText value="#{consultaWebPb.nome}" /></div>
            <div class="classSimpleResultAddressP"><h:outputText value="#{consultaWebPb.endereco}" /></div>
            <div class="classSimpleResultPhoneP"><h:outputText value="#{consultaWebPb.fone}" /></div>
            <div class="classResultOptions">
                <a class="classShowMapLink" onclick="javascript:mostrarMapaSimpleResult(this);"></a>
            </div>
        </div>
        <div id="idMap" style="display: none;"></div>
    </ui:repeat>
    <h:outputText value="#{consultaWebSessionBean.erro}" />
    <div id="idSimpleResultsDiv#{consultaWebSessionBean.pagina+1}">
        <h:panelGroup rendered="#{consultaWebSessionBean.hasNextPage}">
            <div id="idNextPageButton" rendered="#{consultaWebSessionBean.hasNextPage}" onclick="javascript:loadNextResults();"></div>
        </h:panelGroup>
    </div>
</html>

